package com.platform.qujia.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("密钥解密")
public class PhysicalCardSecretKeyDto implements Serializable {

    /**实体卡号 */
    @ApiModelProperty(value = "卡号")
    private String physicalCardNo;

    /**解密密钥*/
    @ApiModelProperty(value = "解密密钥，默认使用A密钥读写卡")
    private String secretKeyA;

    @ApiModelProperty(value = "B密钥")
    private String secretKeyB;

    @ApiModelProperty(value = "实体卡余额")
    private BigDecimal balance;

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "加油枪号")
    private String oilGun;

    @ApiModelProperty(value = "油品名称")
    private String oilName;

    @ApiModelProperty(value = "油品价格")
    private BigDecimal oilPirce;

    @ApiModelProperty(value = "数量(L/kg)")
    private BigDecimal orderLiters;

    @ApiModelProperty(value = "应收金额")
    private BigDecimal receivableAmt;

    @ApiModelProperty(value = "实收金额")
    private BigDecimal amt;

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal discountAmt;

    @ApiModelProperty(value = "优惠券金额")
    private BigDecimal discountCouponAmt;

    @ApiModelProperty(value = "支付方式 wx=微信,zfb=支付宝,dzk=电子卡,xj=现金,cdk=车队卡,pos=pos机,dkq=实体卡")
    private String payType;

    @ApiModelProperty(value = "支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payDate;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdDate;

    @ApiModelProperty(value = "加油员")
    private String oilPersonnelId;

    @ApiModelProperty(value = "客户手机号")
    private String mobilePhone;

    @ApiModelProperty(value = "支付方式名称")
    private String  payTypeName;
}
